package com.kxmall.vehicle.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.kxmall.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;


/**
 * 餐车柜格状态商品信息对象
 */
@Data
@ApiModel("餐车柜格状态商品信息对象")
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
public class KxUserGoodsOrderVo extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "餐车柜格商品购买订单信息表ID")
    @ExcelProperty(value = "餐车柜格商品购买订单信息表ID")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    @ExcelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "订单编号")
    @ExcelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "订单状态 -1:已退款; 0:未支付; 1:已支付;  2:已取货")
    @ExcelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "餐车ID")
    @ExcelProperty(value = "餐车ID")
    private Long vehicleId;

    @ApiModelProperty(value = "餐车动力单元编号")
    @ExcelProperty(value = "餐车动力单元编号")
    private String vehicleNo;

    @ApiModelProperty(value = "餐车号/名称")
    @ExcelProperty(value = "餐车号/名称")
    private String vehicleName;

    @ApiModelProperty(value = "餐车柜格索引 1~24")
    @ExcelProperty(value = "餐车柜格索引")
    private Integer boxIndex;

    //@ApiModelProperty(value = "餐车柜格商品上架表ID")
    //@ExcelProperty(value = "餐车柜格商品上架表ID")
    //private Long upGoodsId;
    @ApiModelProperty(value = "数量")
    @ExcelProperty(value = "数量")
    private Integer count;

    @ApiModelProperty(value = "单价")
    @ExcelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "总价")
    @ExcelProperty(value = "总价")
    private BigDecimal amount;

    @ApiModelProperty(value = "商品表ID")
    @ExcelProperty(value = "商品表ID")
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    @ExcelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品类目ID")
    @ExcelProperty(value = "商品类目ID")
    private Long productAttrId;

    @ApiModelProperty(value = "商品规格")
    @ExcelProperty(value = "商品规格")
    private String productAttrName;

    @ApiModelProperty(value = "商品类目ID")
    @ExcelProperty(value = "商品类目ID")
    private Long categoryId;

    @ApiModelProperty(value = "商品类目")
    @ExcelProperty(value = "商品类目")
    private String categoryName;

    //@ApiModelProperty(value = "商品条码")
    //@ExcelProperty(value = "商品条码")
    //private String barCode;
}
